/*
 * @Description:检测Api
 * @Author: HYH
 * @LastEditors: HYH
 * @LastEditTime: 2022-07-28 15:25:30
 */
import http from '@/http/axios/index'

/**检测分析Api */
const analyzeApi = {
  /**分析文件 */
  analyze_file: (type: any, data: any) => http.post(`/mqtt/send/${type}`, data),

  /**上传文件 并获取解析数据 */
  upload_file: (data: any) => http.post(`/file/upload`, data)
}
export default analyzeApi
